package com.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.dao.SetmealDishDao;
import com.example.domain.SetmealDish;
import com.example.service.SetmealDishService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SetmealDoshServiceImpl extends ServiceImpl<SetmealDishDao, SetmealDish> implements SetmealDishService {
    @Autowired
    private SetmealDishDao setmealDishDao;
    @Override
    public void savesetmealdish(SetmealDish setmealDish) {
        setmealDishDao.savesetmealdish(setmealDish);
    }

    @Override
    public void deletebysetmealid(Long id) {
        setmealDishDao.deletebysetmealid(id);
    }
}
